package StringBuilderExercises;

/**
 * @author: bamboo_shoot
 * @date: 20/2/4 14:43
 * @description: 将StringBuilder转换为String
 */
public class ToString {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        StringBuilder builder = sb.append(100).append('你').append("abcde").append(0.394);
        System.out.println(builder);
        StringBuilder reverse = builder.reverse();
        String s = builder.toString();
        System.out.println(reverse);

    }
}
